/**
 * 
 * @Author: biubiu0002
 * @Date: 2021-04-26 11:08
 **/

#include "CourseSelection.h"
#include "CourseSelectionMapper.h"

CourseSelection::CourseSelection() {}

CourseSelection::~CourseSelection() {

}



const std::string &CourseSelection::getStudentId() const {
    return studentId;
}

void CourseSelection::setStudentId(const std::string &studentId) {
    CourseSelection::studentId = studentId;
}

const std::string &CourseSelection::getCourseId() const {
    return courseId;
}

void CourseSelection::setCourseId(const std::string &courseId) {
    CourseSelection::courseId = courseId;
}

int CourseSelection::getSchoolYear() const {
    return schoolYear;
}

void CourseSelection::setSchoolYear(int schoolYear) {
    CourseSelection::schoolYear = schoolYear;
}

int CourseSelection::getSemester() const {
    return semester;
}

void CourseSelection::setSemester(int semester) {
    CourseSelection::semester = semester;
}

bool CourseSelection::isRelearn() const {
    return relearn;
}

void CourseSelection::setIsRelearn(bool isRelearn) {
    CourseSelection::relearn = isRelearn;
}

void CourseSelection::setRelearn(bool relearn) {
    CourseSelection::relearn = relearn;
}
